<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Show Author</title>
  </head>
  <body>
    <h1>${flash.message}</h1>
    <g:form method="post" >
      <g:hiddenField name="id" value="${authorInstance?.id}" />
      <g:hiddenField name="version" value="${authorInstance?.version}" />
      <g:select name="books"
          from="${allBooks}"
          size="5" multiple="yes" optionKey="id"
          value="${authorInstance?.books}" />
      <fieldset class="buttons">
        <g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" />
      </fieldset>
    </g:form>
  </body>
</html>
